package com.cyy.daijia.driver.client.config;

import com.cyy.daijia.driver.client.fallback.FaceFaceBack;
import com.cyy.daijia.driver.client.fallback.OcrFallBack;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class callBackConfig {
    @Bean
    public FaceFaceBack FaceFaceBackFactory() {
        return  new FaceFaceBack();
    }
    @Bean
    public OcrFallBack ocrFeignClientFallbackFactory() {
        return  new OcrFallBack();
    }
}
